﻿@model SCMS.UI.Areas.Admin.Models.Role.RoleModel
@{
    Layout = null;
}

@Html.ValidationSummary(true)
@Html.HiddenFor(model => model.Id)
<table>
    <tr>
        <td align="right">Name:</td>
        <td>
            @Html.EditorFor(model => model.Name)<br />
            @Html.ValidationMessageFor(model => model.Name)
        </td>
    </tr>
    <tr>
        <td align="right">System Name:</td>
        <td>
            @Html.EditorFor(model => model.SystemName)<br />
            @Html.ValidationMessageFor(model => model.SystemName)
        </td>
    </tr>
    <tr>
        <td align="right">Description:</td>
        <td>
            @Html.TextAreaFor(model => model.Description)<br />
            @Html.ValidationMessageFor(model => model.Description)
        </td>
    </tr>
    <tr>
        <td align="right"></td>
        <td>
            @Html.EditorFor(model => model.Active) Is Active?
        </td>
    </tr>
    <tr>
        <td align="right"></td>
        <td>
            @Html.EditorFor(model => model.IsSystemRole) Is System Role? 
        </td>
    </tr>
    <tr>
        <td></td>
        <td>
            <input type="submit" class="btn green" value=" Save " /> &nbsp; 
            <input type="button" class="btn green" value="Cancel" onclick="CloseDialog()" /> </td>
    </tr>
</table>